<?php

require_once '../../../FormWriter.php';

# TODO: enforce authentication here

$cdindex = new CDIndex();

$cdindex->start_form();

$controls = array(
	'media'   => '*',
	'.push'  => 'submit,reset'
);
$cdindex->add_ctrl($controls);

$cdindex->end_form();

echo '<pre>';
print_r($cdindex->get_filter($controls));
echo '</pre>';

# End of file
# vim: set ts=2 sw=2 et:
?>
